home *** CD-ROM | disk | FTP | other *** search
/ PD Collection CD 1 / PD Collection CD 1.iso / textual / tex / files / !tex / TeXsource / commontex / h / par < prev    next >
Encoding:
Text File  |  1988-04-08  |  1.6 KB  |  82 lines

  1. /*
  2.  *    Copyright 1986, 1987 Pat Joseph Monardo. All rights reserved.
  3.  *    Copying of this file is granted according to the provisions 
  4.  *    specified in the file COPYING which must accompany this file.
  5.  */
  6.  
  7.  
  8. /*
  9.  *        par.h
  10.  */
  11.  
  12. #define    last_active            active
  13.  
  14. #define    VERY_LOOSE_FIT        0
  15. #define    LOOSE_FIT            1
  16. #define    DECENT_FIT            2
  17. #define    TIGHT_FIT            3
  18.  
  19. #define    ACTIVE_NODE_SIZE    3
  20. #define    UNHYPHENATED        0
  21. #define    HYPHENATED            1
  22. #define    fitness                subtype
  23. #define    break_node            rlink
  24. #define    line_number            llink
  25. #define    total_demerits(D)    mem[(D) + 2].i
  26.  
  27. #define    PASSIVE_NODE_SIZE    2
  28. #define    cur_break            rlink
  29. #define    prev_break            llink
  30. #define    next_break            prev_break
  31. #define    serial                info
  32.  
  33. #define    DELTA_NODE            2
  34. #define    DELTA_NODE_SIZE        7
  35.  
  36. #define    do_all_six(F) \
  37.     {F(1); F(2); F(3); F(4); F(5); F(6);}
  38.  
  39. global    ptr        just_box;
  40.  
  41. int        line_break();
  42.  
  43. global    ptr        passive;
  44. global    ptr        printed_node;
  45. global    ptr        pass_number;
  46.  
  47. global    scal    active_width[];
  48. global    scal    cur_active_width[];
  49. global    scal    background[];
  50. global    scal    break_width[];
  51. global    bool    no_shrink_error_yet;
  52.  
  53. ptr        finite_shrink();
  54.  
  55. global    ptr        cur_p;
  56. global    bool    second_pass;
  57. global    val        threshold;
  58.  
  59. int        try_break();
  60.  
  61. #define    AWFUL_BAD            07777777777
  62.  
  63. global    val        minimal_demerits[];
  64. global    val        minimum_demerits;
  65. global    ptr        best_place[];
  66. global    hword    best_pl_line[];
  67.  
  68. global    hword    easy_line;
  69. global    hword    last_special_line;
  70. global    scal    first_width;
  71. global    scal    second_width;
  72. global    scal    first_indent;
  73. global    scal    second_indent;
  74. global    scal    disc_width;
  75. global    ptr        best_bet;
  76. global    val        fewest_demerits;
  77. global    hword    best_line;
  78. global    val        actual_looseness;
  79. global    int        line_diff;
  80.  
  81. int        post_line_break();
  82.